clear
set more off
set mem 500000

cd ""

cap log close
log using TABLE6.log, text replace

use "RESTAT_REFORMS.dta", clear

**TABLE 6: GROWTH REGRESSIONS WITH CONTROLS ***
sort ifs year
tsset ifs year

xi: reg GDP_Gr lGDP1 TR1 polity21 TOT11 enrol_tx1 i.ifs i.year, vce(cl ifs)
outreg2 TR1 lGDP1 polity21 TOT11 enrol_tx1 using TABLE6, bdec(3) nocon word title(Table 6. Baseline Growth Regressions with Controls) replace


foreach X in CUR100 AG NW DF BK SM CAP100 CAPRES CAPNONRES  {
xi: reg GDP_Gr lGDP1 `X'1 polity21 TOT11 enrol_tx1 i.ifs i.year, vce(cl ifs)
outreg2 `X'1 lGDP1 polity21 TOT11 enrol_tx1 using TABLE6, bdec(3) nocon word title(Table 6. Baseline Growth Regressions with Controls) 
}

log close
